package com.ht.shop.service;

import com.ht.shop.pojo.TbGoodsType;

import java.sql.SQLException;
import java.util.List;

public interface GoodsTypeService {
    List<TbGoodsType> findAllSecondLevelType() throws SQLException;
    void addType(String name,String parent) throws Exception;
    int deleteType(String id);
    List<TbGoodsType> findTypeByPIdAndStaus(String pid,int status);


}
